<%--
  Created by IntelliJ IDEA.
  User: mr.chan
  Date: 2020-12-29
  Time: 17:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
          pageEncoding="UTF-8"%>
<%@include file="../common/taglib.jsp" %>
<html>
<head>
    <title>分页数据模板</title>
</head>
<body>
<c:forEach items="${salChanceList}" var="salChance">
    <tr>

        <td class="list_data_number">${salChance.chcId}</td>
        <td class="list_data_text">${salChance.chcCustName}</td>
        <td class="list_data_ltext">${salChance.chcDesc}</td>
        <td class="list_data_text">${salChance.chcLinkman}</td>
        <td class="list_data_text">${salChance.chcTel}</td>
        <td class="list_data_text"><fmt:formatDate value="${salChance.chcCreateDate}" pattern="yyyy年MM月dd日"/> </td>
        <td class="list_data_op">
            <img onclick="to('dispatch.html');" title="指派" src="${basePath}/images/bt_linkman.gif" class="op_button" />
            <img onclick="to('edit.html');" title="编辑" src="${basePath}/images/bt_edit.gif" class="op_button" />
            <img onclick="del('“销售机会：采购笔记本电脑意向”');" title="删除" src="${basePath}/images/bt_del.gif" class="op_button" />
        </td>
    </tr>
</c:forEach>
<tr>
    <th colspan="7" class="pager">
        <div class="pager">
            共59条记录 每页<input value="10" size="2" />条
            第<input value="1" size="2"/>页/共5页
            <a href="javascript:to_page(1)">第一页</a>
            <a href="javascript:to_page(${pageSalChance.getPageNum()-1})">上一页</a>
            <a href="javascript:to_page(${pageSalChance.getPageNum()+1})">下一页</a>
            <a href="javascript:to_page(${pageSalChance.getPages()})">最后一页</a>
            转到<input value="1" size="2" />页
            <button width="20" onclick="reload();">GO</button>
        </div>
    </th>
</tr>
</body>
</html>
